<style>
.comment-block {
	padding: 10px 10px;
	margin-bottom: 10px;
	border-bottom: 1px dashed #ddd;
}
</style>



<div class="respotbs twoColTab">
<div class="widget">
    <div class="widgetTitle">
        <h3>Comments </h3>
      
    </div>
    </div>
	<div class="resp-tab-item resp-tab-active" aria-controls="tab_item-1"
		aria-labelledby="tab_item-1">
		<div class="row">

			<?php foreach($comments as $comments):?>
			<div class="clearfix comment-block">
				<div class="col-lg-2">
					<div class="ratting pull-left">
						<?= $comments->ratting;?>
						<span class="thin">/</span>5
						<p class="text">Ratting</p>
					</div>
				</div>

				<div class="col-lg-10">
					<h3>
						<strong>
						<?= Comments::find($comments->id)->post()->first()->title;;?>
						</strong>
						
					</h3>
				

					<p class="thin">
						<?= $comments->comment;?>
					</p>
					
						<p class="pull-right"><small><strong>Posted By :</strong> <i class="text-danger"><?= $comments->name;?></i></small> <small><strong>On</strong> <i class="text-danger"><?= $comments->updated_at;?> </i> </small> </p>
				</div>
			</div>
			<?php endforeach;?>

			

		</div>
	</div>

	<div class="clearfix">
				<div class="col-lg-12">
					View all Comments ∽ <a href="<?= URL::base();?>/comments/all"
						title="View all Comments"> Click here</a>
				</div>
			</div>


</div>
<div></div>



